package com.ruijie.http

import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import org.junit.Test

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        val adapter = Moshi.Builder().add(KotlinJsonAdapterFactory())
            .build().adapter(Any::class.java)

        println(adapter.toJson(Any()))
    }
}